docker run -d  --name mysql8 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=Oracle@12 mysql:8.4.6

docker pull apolloconfig/apollo-configservice:2.4.0
docker run -p 8080:8080 \
    -e SPRING_DATASOURCE_URL="jdbc:mysql://192.168.253.136:3306/ApolloConfigDB?characterEncoding=utf8" \
    -e SPRING_DATASOURCE_USERNAME=root -e SPRING_DATASOURCE_PASSWORD=Oracle@12 -e EUREKA_INSTANCE_IP_ADDRESS=192.168.253.136 \
    -d -v /tmp/logs:/opt/logs --name apollo-configservice apolloconfig/apollo-configservice:2.4.0

docker pull apolloconfig/apollo-adminservice:2.4.0
docker run -p 8090:8090 \
    -e SPRING_DATASOURCE_URL="jdbc:mysql://192.168.253.136:3306/ApolloConfigDB?characterEncoding=utf8" \
    -e SPRING_DATASOURCE_USERNAME=root -e SPRING_DATASOURCE_PASSWORD=Oracle@12 -e EUREKA_INSTANCE_IP_ADDRESS=192.168.253.136\
    -d -v /tmp/logs:/opt/logs --name apollo-adminservice apolloconfig/apollo-adminservice:2.4.0

docker pull apolloconfig/apollo-portal:2.4.0
docker run -p 8070:8070 \
    -e SPRING_DATASOURCE_URL="jdbc:mysql://192.168.253.136:3306/ApolloPortalDB?characterEncoding=utf8" \
    -e SPRING_DATASOURCE_USERNAME=root -e SPRING_DATASOURCE_PASSWORD=Oracle@12 -e EUREKA_INSTANCE_IP_ADDRESS=192.168.253.136 \
    -e APOLLO_PORTAL_ENVS=dev,pro \
    -e DEV_META=http://192.168.253.136:8080 -e PRO_META=http://192.168.253.136:8080 \
    -d -v /tmp/logs:/opt/logs --name apollo-portal apolloconfig/apollo-portal:2.4.0